#include <iostream>
using namespace std;

class Student
{
	public :
		string m_name;
		int m_age;
	public :
		Student(string name = "hjj", int age = 12) :
			m_name(name), m_age(age)
		{}

		void display() const
		{
			cout << "Name : " << m_name << endl;
			cout << "Age  : " << m_age << endl;
		}
	protected :
};

void display(Student& s)
{

	cout << "Name_e : " << s.m_name << endl;
	cout << "Age_e  : " << s.m_age << endl;
}

int main()
{
	Student s1("hjj", 20);//a.1(2)
	s1.display();

//	Student *ps = &s1;//a.1(3)
//	display(ps);

	Student &rs = s1;//a.1(5)
	display(rs);


}
